
from rest_framework import generics
from rest_framework.response import Response
# from rest_framework_simplejwt.utils import

class TestView(generics.GenericAPIView):

    def get(self, request):
        auth_data =request.auth.payload.get('authentication_status')
        print('[auth_msg]' , auth_data)
        return Response('测试接口')
    pass